﻿using System.Collections.Generic;
using TruckScale.Models;

namespace TruckScale
{
  public static class Global
  {
    public static UserModel _currentUser;
    public static Dictionary<string, string> _weighConfig;
    public static Dictionary<string, string> _hardwareConfig;
    public static bool _isReg;
    //public static string _wbPath = string.Format("{0}\\Data\\WeighFormTemplate.xlsx", Environment.CurrentDirectory);
    //public static Workbook _wb = new Workbook(_wbPath);
    public static System.IntPtr _wnd1Handle;
    public static System.IntPtr _wnd2Handle;
    public static System.IntPtr _wnd3Handle;
    public static System.IntPtr _wnd4Handle;
    public static System.IntPtr _wnd5Handle;
    public static System.IntPtr _wnd6Handle;
    public static int _userID1 = -1;
    public static int _userID2 = -1;
    public static int _userID3 = -1;
    public static int _userID4 = -1;

    public static int _lprSetup = -1;
    public static int _lpr1Handle = 0;
    public static int _lpr2Handle = 0;
    public static int _lpr1playHandle = 0;
    public static int _lpr2playHandle = 0;
  }
}
